DELETE FROM b_agent WHERE MODULE_ID='iblock';
DROP TABLE if exists b_iblock_iblock_iprop;
DROP TABLE if exists b_iblock_section_iprop;
DROP TABLE if exists b_iblock_element_iprop;
DROP TABLE if exists b_iblock_iproperty;
DROP TABLE if exists b_iblock_type;
DROP TABLE if exists b_iblock_site;
DROP TABLE if exists b_iblock_type_lang;
DROP TABLE if exists b_iblock_fields;
DROP TABLE if exists b_iblock_element_right;
DROP TABLE if exists b_iblock_section_right;
DROP TABLE if exists b_iblock_right;
DROP TABLE if exists b_iblock_section_property;
DROP TABLE if exists b_iblock;
DROP TABLE if exists b_iblock_property;
DROP TABLE if exists b_iblock_property_feature;
DROP TABLE if exists b_iblock_messages;
DROP TABLE if exists b_iblock_section;
DROP TABLE if exists b_iblock_element_lock;
DROP TABLE if exists b_iblock_element_property;
DROP TABLE if exists b_iblock_element;
DROP TABLE if exists b_iblock_group;
DROP TABLE if exists b_iblock_rss;
DROP TABLE if exists b_iblock_cache;
DROP TABLE if exists b_iblock_property_enum;
DROP TABLE if exists b_iblock_section_element;
DROP TABLE if exists b_iblock_sequence;
DROP TABLE if exists b_iblock_offers_tmp;